package com.ll.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

@Configuration //配置类
@ComponentScan("com.ll.mapper") //开启组件扫描
@PropertySource("classpath:database.properties")  //引入属性文件
@Import({JdbcConfig.class,MyBatisConfig.class})  //引入其他
public class SpringConfig {
}
